package com.ruoyi.maode.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 零件审核按钮实体类
 * @author zhangwenqiang
 */
@Data
@Accessors(chain = true)
@TableName("part_bpmn_button")
@ApiModel(value = "PartBpmnButton对象", description = "零件审核按钮表")
public class PartBpmnButton {

    @ApiModelProperty("ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("按钮名称")
    private String buttonName;

    @ApiModelProperty("按钮ID")
    private Integer buttonId;

    @ApiModelProperty("角色ID")
    private Long roleId;

    @ApiModelProperty("审核人ID")
    private String userId;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
